From cc969c31a5b61aff4626eb3dfa0d8a7653ab1740 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 12 May 2005 10:42:02 +0000 Subject: [PATCH] bitkeeper revision 1.1389.19.7 (428332faE9tXKL2EQy-9cj-_mI0V8Q) Fix blkfront driver for 2.4 domU. Signed-off-by: Keir Fraser --- linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c index 311b8398ed..f15fcab014 100644 --- a/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6.11-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -824,7 +824,7 @@ static int blkif_queue_request(unsigned long id, buffer_ma >> PAGE_SHIFT, ( operation == BLKIF_OP_WRITE ? 1 : 0 ) ); - blk_shadow[id].frame[req->nr_segments] = + blk_shadow[req->id].frame[req->nr_segments] = buffer_ma >> PAGE_SHIFT; req->frame_and_sects[req->nr_segments] = -- 2.30.2